<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>王者荣耀 - 客服问题受理中心</title>
  <!-- 引入外部资源 -->
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">

  <!-- 自定义Tailwind配置 -->
  <script>
    tailwind.config = {
        theme: {
            extend: {
                colors: {
                    wzryRed: '#E63E34',    // 王者荣耀主色调
                    wzryGray: '#F5F5F5',   // 背景浅灰
                    wzryDark: '#1A1A1A',   // 深色文本
                    wzryLightGray: '#999999', // 浅灰文本
                    wzryYellow: '#FAAD14', // 处理中状态色
                    wzryBlue: '#1890FF',   // 待回复状态色
                    wzryGreen: '#52C41A',  // 已完成状态色
                    wzryBlack: '#000000',  // 已关闭状态色
                },
                fontFamily: {
                    sans: ['"Microsoft YaHei"', '\5FAE\8F6F\96C5\9ED1', 'sans-serif'],
                },
            }
        }
    }
  </script>

  <!-- 自定义工具类 -->
  <style type="text/tailwindcss">
    @layer utilities {
        .card-shadow {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }
        .status-tag {
            @apply text-xs px-2 py-0.5 rounded-full font-medium;
        }
    }
  </style>
</head>

<body class="bg-wzryGray text-wzryDark min-h-screen">
<!-- 顶部导航栏 -->
<header class="bg-white sticky top-0 z-50 card-shadow transition-all duration-300">
  <div class="container mx-auto px-4 py-3 flex items-center justify-between">
    <!-- 左侧Logo与标题 - 已更换为新Logo -->
    <div class="flex items-center">
      <img src="https://p26-flow-imagex-download-sign.byteimg.com/tos-cn-i-a9rns2rl98/5d0895f81b6a47b891fe549882b6fe8a.png~tplv-a9rns2rl98-24:720:720.png?rcl=20250919140533D6696817B665AF27FC12&rk3s=8e244e95&rrcfp=8a172a1a&x-expires=1758866733&x-signature=vWkd7CK4lesfyZmrYA27bxwWh8I%3D"
           alt="王者荣耀官方Logo"
           class="h-10 w-auto mr-3 object-contain">
      <div>
        <h1 class="text-xl font-bold text-wzryRed">王者荣耀</h1>
        <p class="text-xs text-wzryLightGray">客服问题受理中心</p>
      </div>
    </div>

    <!-- 右侧用户入口 -->
    <div class="flex items-center gap-4">
      <a href="#" class="text-sm hover:text-wzryRed transition-colors">
        <i class="fa fa-question-circle mr-1"></i> 帮助中心
      </a>
      <a href="../html/home-main.html" class="text-sm hover:text-wzryRed transition-colors">
        <i class="fa fa-user mr-1"></i> 返回
      </a>
    </div>
  </div>
</header>

<!-- 主体内容区 -->
<main class="container mx-auto px-4 py-8 max-w-6xl">
  <!-- 页面标题与统计 -->
  <div class="mb-8">
    <div class="flex flex-col md:flex-row md:items-center justify-between mb-4">
      <div>
        <h2 class="text-2xl font-bold mb-1">我的问题记录</h2>
        <p class="text-wzryLightGray text-sm">查询您提交的问题及处理进度</p>
      </div>
      <a href="#" class="mt-3 md:mt-0 px-5 py-2 bg-wzryRed text-white rounded-md text-sm font-medium hover:bg-opacity-90 transition-colors transform hover:scale-105">
        <i class="fa fa-plus mr-1"></i> 提交新问题
      </a>
    </div>

    <!-- 搜索框 -->
    <div class="relative">
      <input type="text" placeholder="搜索问题关键词、编号或内容..."
             class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-200 focus:outline-none focus:ring-2 focus:ring-wzryRed/30 focus:border-wzryRed transition-all">
      <i class="fa fa-search absolute left-3 top-1/2 -translate-y-1/2 text-wzryLightGray"></i>
    </div>
  </div>

  <!-- 问题筛选栏 -->
  <div class="bg-white p-4 rounded-lg card-shadow mb-6 flex flex-wrap gap-3">
    <button class="px-4 py-1.5 bg-wzryRed text-white rounded-full text-sm transition-all transform hover:scale-105">全部问题</button>
    <button class="px-4 py-1.5 bg-white text-wzryDark rounded-full text-sm hover:bg-wzryGray transition-colors">待回复</button>
    <button class="px-4 py-1.5 bg-white text-wzryDark rounded-full text-sm hover:bg-wzryGray transition-colors">处理中</button>
    <button class="px-4 py-1.5 bg-white text-wzryDark rounded-full text-sm hover:bg-wzryGray transition-colors">已完成</button>
    <button class="px-4 py-1.5 bg-white text-wzryDark rounded-full text-sm hover:bg-wzryGray transition-colors">已关闭</button>

    <!-- 问题类型筛选 -->
    <div class="ml-auto mt-2 sm:mt-0">
      <select class="bg-white border border-gray-200 rounded-full px-3 py-1.5 text-sm focus:outline-none focus:ring-1 focus:ring-wzryRed">
        <option>全部类型</option>
        <option>装备问题</option>
        <option>账号问题</option>
        <option>充值问题</option>
        <option>活动问题</option>
        <option>其他问题</option>
      </select>
    </div>
  </div>

  <!-- 问题统计 -->
  <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-6">
    <div class="bg-white p-4 rounded-lg card-shadow">
      <p class="text-wzryLightGray text-sm mb-1">全部问题</p>
      <p class="text-xl font-bold">12</p>
    </div>
    <div class="bg-white p-4 rounded-lg card-shadow">
      <p class="text-wzryLightGray text-sm mb-1">待回复</p>
      <p class="text-xl font-bold text-wzryBlue">2</p>
    </div>
    <div class="bg-white p-4 rounded-lg card-shadow">
      <p class="text-wzryLightGray text-sm mb-1">处理中</p>
      <p class="text-xl font-bold text-wzryYellow">1</p>
    </div>
    <div class="bg-white p-4 rounded-lg card-shadow">
      <p class="text-wzryLightGray text-sm mb-1">已完成</p>
      <p class="text-xl font-bold text-wzryGreen">9</p>
    </div>
  </div>

  <!-- 问题列表 -->
  <div class="space-y-4">
    <!-- 问题项1（带状态流程） -->
    <div class="bg-white rounded-lg card-shadow overflow-hidden transition-all duration-300 hover:shadow-lg">
      <!-- 问题头部（描述+状态） -->
      <div class="p-4 border-b border-gray-100 flex flex-col md:flex-row md:items-center justify-between">
        <div>
          <h3 class="font-medium mb-1">装备丢失找回申请</h3>
          <p class="text-sm text-wzryLightGray">提交时间：2017-03-13 23:23:59 · 问题编号：WZRY20170313001</p>
        </div>
        <div class="mt-2 md:mt-0 flex items-center">
          <span class="status-dot bg-wzryGreen mr-2"></span>
          <span class="status-tag bg-wzryGreen/10 text-wzryGreen">已完成</span>
        </div>
      </div>

      <!-- 问题内容 -->
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm"><span class="font-medium">问题描述：</span>我的xxxx装备丢失了，请帮我找回。昨天还在背包里，今天登录游戏就发现不见了，希望能够尽快处理，谢谢。</p>
      </div>

      <!-- 处理流程 -->
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm font-medium mb-2">处理流程：</p>
        <div class="flex items-center text-sm">
          <span class="text-wzryGreen">提交问题</span>
          <div class="h-0.5 bg-wzryGreen flex-1 mx-3"></div>
          <span class="text-wzryGreen">客服受理</span>
          <div class="h-0.5 bg-wzryGreen flex-1 mx-3"></div>
          <span class="text-wzryGreen">处理完成</span>
        </div>
      </div>

      <!-- 客服回复 -->
      <div class="p-4 bg-gray-50">
        <div class="flex items-start">
          <div class="w-8 h-8 rounded-full bg-wzryRed flex items-center justify-center text-white text-xs mr-3 flex-shrink-0">
            <i class="fa fa-headphones"></i>
          </div>
          <div>
            <p class="text-xs text-wzryLightGray mb-1">客服回复 · 2017-03-14 09:15:30</p>
            <p class="text-sm bg-white p-3 rounded-lg card-shadow">亲爱的召唤师，您的装备已经核实完毕，已为您补送完成，请登录游戏进行查看，感谢您的支持！</p>
          </div>
        </div>
      </div>
    </div>

    <!-- 问题项2（处理中状态） -->
    <div class="bg-white rounded-lg card-shadow overflow-hidden transition-all duration-300 hover:shadow-lg">
      <div class="p-4 border-b border-gray-100 flex flex-col md:flex-row md:items-center justify-between">
        <div>
          <h3 class="font-medium mb-1">装备丢失找回申请</h3>
          <p class="text-sm text-wzryLightGray">提交时间：2017-03-12 15:40:22 · 问题编号：WZRY20170312005</p>
        </div>
        <div class="mt-2 md:mt-0 flex items-center">
          <span class="status-dot bg-wzryYellow mr-2"></span>
          <span class="status-tag bg-wzryYellow/10 text-wzryYellow">处理中</span>
        </div>
      </div>
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm"><span class="font-medium">问题描述：</span>我的几件高级装备不见了，包括xxxx和xxxx，应该是昨天晚上丢失的，麻烦帮忙找回一下，非常感谢。</p>
      </div>
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm font-medium mb-2">处理流程：</p>
        <div class="flex items-center text-sm">
          <span class="text-wzryGreen">提交问题</span>
          <div class="h-0.5 bg-wzryGreen flex-1 mx-3"></div>
          <span class="text-wzryYellow">客服受理</span>
          <div class="h-0.5 bg-gray-200 flex-1 mx-3"></div>
          <span class="text-wzryLightGray">处理完成</span>
        </div>
      </div>
      <div class="p-4 bg-gray-50">
        <div class="flex items-start">
          <div class="w-8 h-8 rounded-full bg-wzryRed flex items-center justify-center text-white text-xs mr-3 flex-shrink-0">
            <i class="fa fa-headphones"></i>
          </div>
          <div>
            <p class="text-xs text-wzryLightGray mb-1">客服回复 · 2017-03-12 16:20:10</p>
            <p class="text-sm bg-white p-3 rounded-lg card-shadow">亲爱的召唤师，您反馈的装备丢失问题我们已经收到，正在核实处理中，请您耐心等待，我们会尽快给您回复。</p>
          </div>
        </div>
      </div>
    </div>

    <!-- 问题项3（待回复状态） -->
    <div class="bg-white rounded-lg card-shadow overflow-hidden transition-all duration-300 hover:shadow-lg">
      <div class="p-4 border-b border-gray-100 flex flex-col md:flex-row md:items-center justify-between">
        <div>
          <h3 class="font-medium mb-1">装备丢失找回申请</h3>
          <p class="text-sm text-wzryLightGray">提交时间：2017-03-11 08:30:15 · 问题编号：WZRY20170311012</p>
        </div>
        <div class="mt-2 md:mt-0 flex items-center">
          <span class="status-dot bg-wzryBlue mr-2"></span>
          <span class="status-tag bg-wzryBlue/10 text-wzryBlue">待回复</span>
        </div>
      </div>
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm"><span class="font-medium">问题描述：</span>今天早上登录游戏，发现背包里的xxxx装备不见了，这是我刚合成的，麻烦帮我找回来，谢谢客服。</p>
      </div>
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm font-medium mb-2">处理流程：</p>
        <div class="flex items-center text-sm">
          <span class="text-wzryGreen">提交问题</span>
          <div class="h-0.5 bg-gray-200 flex-1 mx-3"></div>
          <span class="text-wzryLightGray">客服受理</span>
          <div class="h-0.5 bg-gray-200 flex-1 mx-3"></div>
          <span class="text-wzryLightGray">处理完成</span>
        </div>
      </div>
      <div class="p-4 bg-gray-50">
        <div class="text-center text-sm text-wzryLightGray py-3">
          <i class="fa fa-clock-o mr-1"></i> 您的问题已提交，客服将在24小时内进行回复
        </div>
      </div>
    </div>

    <!-- 问题项4（已关闭状态） -->
    <div class="bg-white rounded-lg card-shadow overflow-hidden transition-all duration-300 hover:shadow-lg">
      <div class="p-4 border-b border-gray-100 flex flex-col md:flex-row md:items-center justify-between">
        <div>
          <h3 class="font-medium mb-1">装备丢失找回申请</h3>
          <p class="text-sm text-wzryLightGray">提交时间：2017-03-10 20:15:00 · 问题编号：WZRY20170310008</p>
        </div>
        <div class="mt-2 md:mt-0 flex items-center">
          <span class="status-dot bg-wzryBlack mr-2"></span>
          <span class="status-tag bg-wzryBlack/10 text-wzryBlack">已关闭</span>
        </div>
      </div>
      <div class="p-4 border-b border-gray-100">
        <p class="text-sm"><span class="font-medium">问题描述：</span>我的xxxx装备丢失了，请帮我找回。</p>
      </div>
      <div class="p-4 bg-gray-50">
        <div class="flex items-start">
          <div class="w-8 h-8 rounded-full bg-wzryRed flex items-center justify-center text-white text-xs mr-3 flex-shrink-0">
            <i class="fa fa-headphones"></i>
          </div>
          <div>
            <p class="text-xs text-wzryLightGray mb-1">客服回复 · 2017-03-11 01:30:20</p>
            <p class="text-sm bg-white p-3 rounded-lg card-shadow">亲爱的召唤师，经核实您的装备是正常使用消耗，不符合找回条件，故关闭此申请。如有疑问，请提供更多信息重新提交。</p>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- 分页控件 -->
  <div class="mt-8 flex justify-center">
    <nav class="flex items-center space-x-1">
      <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-200 text-wzryLightGray hover:border-wzryRed hover:text-wzryRed transition-colors">
        <i class="fa fa-angle-left"></i>
      </button>
      <button class="w-8 h-8 flex items-center justify-center rounded bg-wzryRed text-white">1</button>
      <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-200 hover:border-wzryRed hover:text-wzryRed transition-colors">2</button>
      <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-200 hover:border-wzryRed hover:text-wzryRed transition-colors">3</button>
      <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-200 text-wzryLightGray hover:border-wzryRed hover:text-wzryRed transition-colors">
        <i class="fa fa-angle-right"></i>
      </button>
    </nav>
  </div>
</main>

<!-- 页脚 -->
<footer class="bg-white border-t border-gray-200 mt-12">
  <div class="container mx-auto px-4 py-6">
    <div class="text-center text-sm text-wzryLightGray">
      <p>© 2024 腾讯游戏 版权所有</p>
      <p class="mt-1">抵制不良游戏 拒绝盗版游戏 注意自我保护 谨防受骗上当 适度游戏益脑 沉迷游戏伤身 合理安排时间 享受健康生活</p>
      <p class="mt-2">客服热线：400-881-2345</p>
    </div>
  </div>
</footer>

<!-- 交互脚本 -->
<script>
  // 为筛选按钮添加切换效果
  const filterBtns = document.querySelectorAll('.bg-white.text-wzryDark.rounded-full');
  filterBtns.forEach(btn => {
      btn.addEventListener('click', () => {
          // 重置所有按钮样式
          document.querySelectorAll('.px-4.py-1.rounded-full').forEach(b => {
              b.classList.remove('bg-wzryRed', 'text-white');
              b.classList.add('bg-white', 'text-wzryDark');
          });
          // 激活当前按钮
          btn.classList.remove('bg-white', 'text-wzryDark');
          btn.classList.add('bg-wzryRed', 'text-white');
      });
  });

  // 导航栏滚动效果
  window.addEventListener('scroll', function() {
      const header = document.querySelector('header');
      if (window.scrollY > 10) {
          header.classList.add('shadow-md');
          header.classList.remove('card-shadow');
      } else {
          header.classList.remove('shadow-md');
          header.classList.add('card-shadow');
      }
  });

  // 问题卡片点击展开/折叠效果
  const issueCards = document.querySelectorAll('.bg-white.rounded-lg.card-shadow');
  issueCards.forEach(card => {
      const header = card.querySelector('.border-b.border-gray-100');
      header.addEventListener('click', () => {
          const content = card.querySelectorAll('.border-b.border-gray-100:not(:first-child), .bg-gray-50');
          content.forEach(el => {
              el.classList.toggle('hidden');
          });
      });
  });
</script>
</body>
</html>
